﻿using Adnc.Infra.Entities;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace Adnc.Infra.Repository.Entities.MongoEntities
{
    /// <summary>
    /// 消息日志
    /// </summary>
    public class MessageLog : MongoEntity
    {
        /// <summary>
        /// 消息类型
        /// </summary>
        public string LogType { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [BsonDateTimeOptions(Kind = DateTimeKind.Local)]
        public DateTime Time { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Describe { get; set; }
    }
}
